package com.yimu.ymblog.common.constant;

public class RedisConstants {
    /**
     * 验证码
     */
    public static String CAPTCHA_CODE = "CAPTCHA_CODE:";

    /**
     * 验证码有效期（分钟）
     */
    public static final Integer CAPTCHA_EXPIRATION = 5;

    /**
     * 邮箱验证码
     */
    public static String EMAIL_CODE = "email_code_";

    /**
     * 博客浏览量
     */
    public static final String BLOG_VIEWS_COUNT = "blog_views_count";

    /**
     * 博客访客量
     */
    public static final String UNIQUE_VISITOR_COUNT = "unique_visitor_count";

    /**
     * 访客
     */
    public static final String UNIQUE_VISITOR = "unique_visitor";
}
